{"componentChunkName":"component---node-modules-rocketseat-gatsby-theme-docs-core-src-templates-docs-query-js","path":"/scope","result":{"data":{"mdx":{"id":"c27fe20c-ba9e-51a9-8f45-ce5e132a9b06","excerpt":"The audit engagement encompassed a specific list of contracts that were present in the commit hash of the repository that was in scope. The tables below detail…","fields":{"slug":"/scope/"},"frontmatter":{"title":"Scope","description":"A specification of the audit scope, including metadata such as the project's language and deployed network.","image":null,"disableTableOfContents":null},"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Scope\",\n  \"description\": \"A specification of the audit scope, including metadata such as the project's language and deployed network.\"\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"p\", null, \"The audit engagement encompassed a specific list of contracts that were present in the commit hash of the repository that was in scope. The tables below detail certain meta-data about the target of the security assessment and a navigation chart is present at the end that links to the relevant findings per file.\"), mdx(\"h2\", {\n    \"id\": \"target\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#target\",\n    \"aria-label\": \"target permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Target\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Repository: \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://github.com/gnosis/cow-order-signer\"\n  }, \"https://github.com/gnosis/cow-order-signer\")), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Commit: 83d1ffe1abdf186e824400a3caa0b7733065742f\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Language: Solidity\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Network: Ethereum\"), mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Revisions: \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://github.com/gnosis/cow-order-signer/tree/83d1ffe1abdf186e824400a3caa0b7733065742f\",\n    \"title\": \"83d1ffe1abdf186e824400a3caa0b7733065742f\"\n  }, \"83d1ffe1ab\"), \", \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://github.com/gnosis/cow-order-signer/tree/da3062f6b3ff452092a0b6daa6f226f0f3b696c6\",\n    \"title\": \"da3062f6b3ff452092a0b6daa6f226f0f3b696c6\"\n  }, \"da3062f6b3\"), \", \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://github.com/gnosis/cow-order-signer/tree/50bc415e93e851181c9a6a1768bf9fa972f74198\",\n    \"title\": \"50bc415e93e851181c9a6a1768bf9fa972f74198\"\n  }, \"50bc415e93\"))), mdx(\"h2\", {\n    \"id\": \"findings-per-file\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#findings-per-file\",\n    \"aria-label\": \"findings per file permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Findings Per File\"), mdx(\"pre\", null, mdx(\"code\", {\n    parentName: \"pre\",\n    \"className\": \"language-mermaid\"\n  }, \"sunburst_scope\\n    {\\\"GPS-01M\\\":{\\\"title\\\":\\\"Inexistent Cross-Chain Replay Attack Protection\\\",\\\"name\\\":\\\"GPv2Signing\\\"},\\\"GPO-01C\\\":{\\\"title\\\":\\\"Generic Typographic Mistake\\\",\\\"name\\\":\\\"GPv2Order\\\"},\\\"COS-01S\\\":{\\\"title\\\":\\\"Illegible Numeric Value Representation\\\",\\\"name\\\":\\\"CowswapOrderSigner\\\"},\\\"COS-01C\\\":{\\\"title\\\":\\\"Inconsistent Invocation Style\\\",\\\"name\\\":\\\"CowswapOrderSigner\\\"},\\\"COS-02S\\\":{\\\"title\\\":\\\"Inexistent Visibility Specifiers\\\",\\\"name\\\":\\\"CowswapOrderSigner\\\"},\\\"GPS-01C\\\":{\\\"title\\\":\\\"Outdated Assembly Block\\\",\\\"name\\\":\\\"GPv2Signing\\\"},\\\"COS-02C\\\":{\\\"title\\\":\\\"Redundant Existence of Abstract Contract\\\",\\\"name\\\":\\\"CowswapOrderSigner\\\"},\\\"COS-01M\\\":{\\\"title\\\":\\\"Inexistent Exposure of Inverse Operation\\\",\\\"name\\\":\\\"CowswapOrderSigner\\\"},\\\"COS-03S\\\":{\\\"title\\\":\\\"Inexistent Sanitization of Input Address\\\",\\\"name\\\":\\\"CowswapOrderSigner\\\"}}\\n    GPv2Signing.sol (GPS): [[\\\"GPS-01M\\\"],[\\\"GPS-01C\\\"],[],[],[]]\\n    GPv2Order.sol (GPO): [[],[\\\"GPO-01C\\\"],[],[],[]]\\n    CowswapOrderSigner.sol (COS): [[],[\\\"COS-01S\\\",\\\"COS-01C\\\",\\\"COS-02S\\\",\\\"COS-02C\\\"],[\\\"COS-01M\\\",\\\"COS-03S\\\"],[],[]]\\n\")), mdx(\"h2\", {\n    \"id\": \"contracts-assessed\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#contracts-assessed\",\n    \"aria-label\": \"contracts assessed permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Contracts Assessed\"), mdx(\"table\", null, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"File\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"right\"\n  }, \"Total Finding(s)\"))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://github.com/gnosis/cow-order-signer/blob/83d1ffe1abdf186e824400a3caa0b7733065742f/contracts/CowswapOrderSigner.sol\"\n  }, \"contracts/CowswapOrderSigner.sol (COS)\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"right\"\n  }, \"6\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://github.com/gnosis/cow-order-signer/blob/83d1ffe1abdf186e824400a3caa0b7733065742f/contracts/cowProtocol/libraries/GPv2Order.sol\"\n  }, \"contracts/cowProtocol/libraries/GPv2Order.sol (GPO)\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"right\"\n  }, \"1\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://github.com/gnosis/cow-order-signer/blob/83d1ffe1abdf186e824400a3caa0b7733065742f/contracts/cowProtocol/libraries/GPv2Trade.sol\"\n  }, \"contracts/cowProtocol/libraries/GPv2Trade.sol (GPT)\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"right\"\n  }, \"0\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"a\", {\n    parentName: \"td\",\n    \"href\": \"https://github.com/gnosis/cow-order-signer/blob/83d1ffe1abdf186e824400a3caa0b7733065742f/contracts/cowProtocol/mixins/GPv2Signing.sol\"\n  }, \"contracts/cowProtocol/mixins/GPv2Signing.sol (GPS)\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"right\"\n  }, \"2\")))));\n}\n;\nMDXContent.isMDXComponent = true;","headings":[{"depth":2,"value":"Target"},{"depth":2,"value":"Findings Per File"},{"depth":2,"value":"Contracts Assessed"}]}},"pageContext":{"slug":"/scope/","prev":{"label":"Introduction","link":"/"},"next":{"label":"Compilation","link":"/compilation"}}},"staticQueryHashes":["1954253342","2328931024","2501019404","973074209"]}